package com.hx.voice.recognition.auth.server.configuration;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @descripe：生成公钥私钥配置类
 * @company：南京华讯方舟通讯设备有限公司
 * @author：zhoujinbing
 * @time：2019/6/14 10:53
 * @version：V1.0
 */
@Configuration
@Data
public class KeyConfiguration {

    @Value("${jwt.rsa-secret}")
    private String userSecret;

    @Value("${client.rsa-secret}")
    private String serviceSecret;

    private byte[] userPubKey;

    private byte[] userPriKey;

    private byte[] servicePriKey;

    private byte[] servicePubKey;


}